<div class="notes">

  <%=_("Notes", @page.notes.size)%>&nbsp;<%=tog('note.png', 'commentintime', _("Note"), {:style=> "vertical-align: middle;"})%>

</div>

<div id='commentintime' <%=h "style='display:none;'" unless flash[:note] || flash[:noted]%>>

  <%= form_tag({ :action => "note", :id => @page }, :id => "note_form")%>  
  <%= render :partial => 'pages/notes' %><br/>
  <div class="forms"><%=_ "What?"%>
      <%= render :partial => 'pages/note_form' %>
      <%= render :partial => 'common/captcha' %> 
      <input type="hidden" name="current_page" value="<%=params[:page] || '1'%>">
      <input type="hidden" name="friend" value="<%=params[:friend]%>">
      <% if flash[:note] %>
         <div class="note"><%= flash[:note] %></div>
      <% end %>    
      <div style="text-align:right">
        <%=submit_button '_ok.png', _('Save')%>
      </div>
  </div>
  </form>

</div>
